Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run lint in all folders #35

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Run lint in all folders #35

merged 1 commit into from
Jul 24, 2024

Conversation

Alopalao
Copy link
Contributor

Closes #34

Summary

Added all the folders containing python scripts to be inspected by lint

Local Tests

Run tox

End-to-End Tests

N/A

@Alopalao Alopalao requested a review from a team as a code owner July 24, 2024 15:31
Copy link
Contributor Author

@Alopalao Alopalao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not notice anything that needed to be updated.
I added all the missing python files to be inspected by the linter.

@@ -114,8 +115,14 @@ class TestCoverage(Test):

def run(self):
"""Run unittest quietly and display coverage report."""
cmd = f"python3 -m pytest --cov=. tests/ {self.get_args()}"
call(cmd, shell=True)
cmd = "python3 -m pytest --cov=. tests/ --cov-report term-missing"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to kytos issue #487

Copy link
Member

@viniarck viniarck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much appreciated this PR @Alopalao.

Let's ship it.

@viniarck
Copy link
Member

I did not notice anything that needed to be updated. I added all the missing python files to be inspected by the linter.

Yes, appreciated you double checking @Alopalao, I turns out I had an older branch that was with py39 for the local dev of this NApp. But, I'm glad you took the opportunity to also fix the adjacent parts here.

@viniarck viniarck merged commit 8cc034a into master Jul 24, 2024
1 check passed
@viniarck viniarck deleted the chore/update branch July 24, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: update test dependencies to be compatible with python 3.11
2 participants